#! /bin/bash
mlsql_engine=`ps -ef | grep mlsql-engine | grep -i streamingpro-mlsql | awk '{print $2}'`

echo "mlsql_engine ${mlsql_engine}"

mlsql_console=`ps aux|grep 'mlsql-api-console' | grep -v grep | awk '{print $2}'`
echo "mlsql_console ${mlsql_console}"

mlsql_cluster=`ps aux|grep 'mlsql.cluster' | grep -v grep | awk '{print $2}'`
echo "mlsql_cluster ${mlsql_console}"
